package com.lab.webSocket.service;

import com.lab.webSocket.dto.CheckUserIdReturnDto;
import com.lab.webSocket.dto.UserDto;

/**
 * Created by xu_jiaHui on 2017/8/26.
 */
public interface LoginService {

    /**
     * @Description: 登录检测
     * @author xu_jiaHui
     * @date 2017/8/29 12:53
     */
    public UserDto loginCheck(String userId, String userPsw)throws Exception;

    /**
     * @Description: 用户注册
     * @author xu_jiaHui
     * @date 2017/8/29 12:53
     */
    public Integer userRegister(UserDto userDto)throws Exception;

    /**
     * @Description: 检测用户Id
     * @author xu_jiaHui
     * @date 2017/8/29 14:07
     */
    public CheckUserIdReturnDto checkUserId(String userId)throws Exception;
}
